package com.hanserwei.mydemo.stream;

import java.util.stream.Stream;

public class SummaryTest2 {
    public static void main(String[] args) {
        Stream<Integer> integerStream = Stream.of(1, 2, 3, 4, 5, 6, 7, 8, 9, 10);
        integerStream.map(x -> x + 1).filter(x -> x > 5).forEach(System.out::println);
    }
}
